Footprint Analysis ¶
Footprint analysis is a systematic process used to evaluate and optimize the memory and resource usage of embedded applications. It helps developers understand how much memory resources their application consumes, enabling efficient optimization and ensuring the application fits within device constraints.
The table down below specifies the required parameters for each footprint analysis configuration.
|
Parameters |
Minimum footprint |
Default footprint |
Maximum footprint |
|---|---|---|---|
|
USE_ASSERT_DBG_STATE |
Undefined |
Undefined |
Defined |
|
USE_ASSERT_DBG_PARAM |
Undefined |
Undefined |
Defined |
|
USE_HAL_PPP_MODULE |
1U |
1U |
1U |
|
USE_HAL_PPP_CLK_ENABLE_MODEL |
HAL_CLK_ENABLE_NO |
HAL_CLK_ENABLE_NO |
HAL_CLK_ENABLE_PERIPH_PWR_SYSTEM |
|
USE_HAL_PPP_REGISTER_CALLBACKS |
0U |
1U |
1U |
|
USE_HAL_PPP_USER_DATA |
0U |
1U |
1U |
|
USE_HAL_PPP_GET_LAST_ERRORS |
0U |
1U |
1U |
|
USE_HAL_PPP_DMA |
0U |
1U |
1U |
|
USE_HAL_CHECK_PARAM |
0U |
1U |
1U |
|
USE_HAL_SECURE_CHECK_PARAM [1] |
0U |
1U |
1U |
|
Optimization level |
None |
None |
None |
Microcontroller information ¶
The footprint analysis was performed on the STM32C562xx microcontroller.
Compiler information ¶
The footprint analysis reports are generated using the IAR Embedded Workbench® compiler.
Compiler version: V9.60.3.422
Driver information ¶
The footprint analysis was performed using these versions of DFP and HAL driver:
HAL driver version:
DFP version: 2.1.0
Driver footprint reports ¶
Below is a list of footprint analysis reports for each STM32C5 HAL, LL, static and ARM®-specific peripheral driver. Each link provides details about memory and resource usage to help optimize embedded applications for size and efficiency.
Explore the footprint details for each driver:
|
Peripheral |
Footprint report |
|---|---|
|
AES |
|
|
CORTEX |
|
|
CORDIC |
|
|
CRC |
|
|
DAC |
|
|
DMA |
|
|
FDCAN |
|
|
FLASH |
|
|
ADC |
|
|
COMP |
|
|
CRS |
|
|
DBGMCU |
|
|
EXTI |
|
|
GPIO |
|
|
HASH |
|
|
HCD |
|
|
I2C |
|
|
I2S |
|
|
I3C |
|
|
ICACHE |
|
|
IWDG |
|
|
LPTIM |
|
|
PCD |
|
|
PWR |
|
|
Q |
|
|
RAMCFG |
|
|
RCC |
|
|
RNG |
|
|
RTC |
|
|
SBS |
|
|
SMARTCARD |
|
|
SMBUS |
|
|
SPI |
|
|
TAMP |
|
|
TIM |
|
|
UART |
|
|
USART |
|
|
WWDG |